package cn.school.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.school.entity.Student;
import mybatis.Subject;

public interface StudentDao {
	public Student find(long id);

	public int add(Student s);

	public List<Student> findALL();

	public int del(long del);

	public int up(Student s);

	List<Student> findvague(@Param("s") String sname, @Param("t") String telephone, @Param("g") long gradeid);

	public int newdel(@Param("ids") List s);

	public List<Student> agefind(@Param("ageFanwei") int ageType);

	public List<Student> enterfind(@Param("enterFanwei") int enterType);

}
